home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: how do you draw lines in vc++2.0?
- Date: 24 Feb 1996 20:52:24 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4gntq8$ofr@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 23, 1996 22:19:15 in article <how do you draw lines in vc++2.0?>,
- '"Sang Hyun Park, Shawn" <sangp+@andrew.cmu.edu>' wrote:
-
- >
- >i was wondering if anyone had experience with programming with graphic
- >functions in msvc++ 2.0. basically, i need to plot some data points on
- >a chart. i'm trying to find if there is a class function in MFC perhaps
- >to draw lines, ie. connect two separate dots on a graph.
- >
- >can anyone with advice help ? thank you.
- >
- Are you doing Windows? If so, look at API functions
- MoveToEx() and LineTo(). In MFC, the CDC class has
- MoveTo() and LineTo() functions, but you may want to
- use Rectangle() instead. Read about them in VC's
- on-line reference manual.
-
-
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-